module.exports = {
  bail: true,
  verbose: true,
  cacheDirectory: './node_modules/.cache',
  testEnvironment: 'jsdom',
  coverageThreshold: {
    global: {
      branches: 100,
      functions: 100,
      lines: 100,
      statements: 100,
    },
  },
  coveragePathIgnorePatterns: [],
  testRegex: 'test/.*\\.jsx?$',
  testPathIgnorePatterns: [
    '<rootDir>/node_modules/',
    '__mocks__',
    '<rootDir>/test/setup.js',
  ],
  moduleFileExtensions: ['', 'json', 'js', 'jsx', 'less'],
  modulePaths: ['<rootDir>/src'],
  moduleNameMapper: {
    '\\.(css|less|gif|jpg|jpeg|png)$': '<rootDir>/build/jestStyleMock.js',
  },
  setupFiles: ['<rootDir>/test/setup.js'],
  transformIgnorePatterns: ['<rootDir>/node_modules/(?!(react-aaui)/)'],
}
